public class TestToString {
    public static void main(String[] args){
        Book book1 = new Book("Java Programming", "John Doe", 29.99);
        Book book2 = new Book("C Programming", "Jacob", 39.99);

        System.out.println(book1);
        System.out.println(book2);
    }
}
